/*
 * @Description:
 * @Version: 2.0
 * @Autor: wiz
 * @Date: 2024-07-09 13:47:16
 * @LastEditors: wiz
 * @LastEditTime: 2024-07-27 14:29:03
 */
import { N_cFlowchart, N_oContextMenu } from '@/types';
import vue from 'vue';

export namespace N_cBpmn {
  export class cBpmn extends vue {
    cFlowchart: N_cFlowchart.cFlowchart;

    rightPanelForm: any;

    nodeContentMenu: (
      pos: N_oContextMenu.I_showPosition,
      e: N_cFlowchart.I_eventParams
    ) => void;

    edgeContentMenu: (
      pos: N_oContextMenu.I_showPosition,
      e: N_cFlowchart.I_eventParams
    ) => void;

    blankContentMenu: (
      pos: N_oContextMenu.I_showPosition,
      e: N_cFlowchart.I_eventParams
    ) => void;

    showModal: (s: 'open') => void;

    showNodeModal: (cell: any) => void;

    setRightFormValue: () => void;

    setRightFormModify: (b: boolean) => void;
  }
}
